import Vue from "vue";
import Toast from './Toast';
let ToastConstructor = Vue.extend(Toast);

let myToast = () => {
    let toastDom = new ToastConstructor().$mount();
    document.body.appendChild(toastDom.$el);
}
export default myToast;